package com.huazhi.wzsnw.mapper;

import com.huazhi.wzsnw.model.AlertValue;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AlertValueMapper {

    int deleteByPrimaryKey(String tid);

    int insert(AlertValue record);

    int insertSelective(AlertValue record);

    AlertValue selectByPrimaryKey(String tid);

    AlertValue selectByNumber(String number);

    int updateByPrimaryKeySelective(AlertValue record);

    int updateByPrimaryKey(AlertValue record);

    List<String> getSearchAlertValueList(@Param("key")String search);

    List<AlertValue> findPagingByListTid(@Param("stringList")List<String> stringList,@Param("pageIndex")Integer pageIndex,@Param("pageSize")Integer pageSize);

    AlertValue selectAlertValueByField(@Param("field")String field,@Param("value")String value);

    void  delDirtyData();
}